package com.wzdigit.wms.basic.domain.basic;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.wzdigit.framework.orm.model.BasicDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户-工作分工
 * </p>
 *
 * @author 
 * @since 2021-03-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BASIC_USER_WORK_DIVISON")
@KeySequence(value = "BASIC_USER_WORK_DIVISON_SEQ", clazz = Integer.class)
public class UserWorkDivison extends BasicDomain {

    private static final long serialVersionUID = 1L;

    /**
     * USER_WORK_DIVISON_ID
     */
    @TableId(value = "USER_WORK_DIVISON_ID", type = IdType.INPUT)
    private Integer userWorkDivisonId;

    /**
     * WORK_DIVISION_ID
     */
    @TableField("WORK_DIVISION_ID")
    private Integer workDivisionId;

    /**
     * USER_ID
     */
    @TableField("USER_ID")
    private Integer userId;
}
